<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="http://cdn.static.runoob.com/libs/jquery/1.10.2/jquery.min.js"></script>
	</head>
	<body>
		<p class="active">你好</p>
		<p>我不好</p>
		<script>
			$(function(){
				$(".active").css("color","red");
			})
			
		</script>
	</body>
</html>
